package com.fdb.efp.loan.service.facade;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.fdb.efp.loan.service.vo.ReconciliationDocumentsVo;

/**
 * 
 * 并账文件接口
 * 
 * @author liyakui
 * @since 2019年1月21日 下午8:54:01
 * @version 1.0
 */
public interface ReconciliationDocumentsService {
	int insert(ReconciliationDocumentsVo record);

	int insertSelective(ReconciliationDocumentsVo record);

	/* 批量插入数据 */
	public int batchInsert(List<ReconciliationDocumentsVo> reconciliationDocumentsVos) throws Exception;

	/* 查询并账文件表汇总金额 */
	public Map<String, BigDecimal> queryRecDocSumBal(ReconciliationDocumentsVo reconciliationDocumentsVo)
			throws Exception;

	/* 更新通过状态数据 */
	public int updateReconciliationDocuments(ReconciliationDocumentsVo reconciliationDocuments) throws Exception;

}
